Optimal. Leaf size=55 \[ \frac{\tan ^{-1}(\sinh (c+d x))}{b d}-\frac{\sqrt{a} \tan ^{-1}\left (\frac{\sqrt{a} \sinh (c+d x)}{\sqrt{a+b}}\right )}{b d \sqrt{a+b}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0691455, antiderivative size = 55, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.174, Rules used = {4147, 391, 203, 205} \[ \frac{\tan ^{-1}(\sinh (c+d x))}{b d}-\frac{\sqrt{a} \tan ^{-1}\left (\frac{\sqrt{a} \sinh (c+d x)}{\sqrt{a+b}}\right )}{b d \sqrt{a+b}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4147
Rule 391
Rule 203
Rule 205
Rubi steps
\begin{align*} \int \frac{\text{sech}^3(c+d x)}{a+b \text{sech}^2(c+d x)} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{1}{\left (1+x^2\right ) \left (a+b+a x^2\right )} \, dx,x,\sinh (c+d x)\right )}{d}\\ &=\frac{\operatorname{Subst}\left (\int \frac{1}{1+x^2} \, dx,x,\sinh (c+d x)\right )}{b d}-\frac{a \operatorname{Subst}\left (\int \frac{1}{a+b+a x^2} \, dx,x,\sinh (c+d x)\right )}{b d}\\ &=\frac{\tan ^{-1}(\sinh (c+d x))}{b d}-\frac{\sqrt{a} \tan ^{-1}\left (\frac{\sqrt{a} \sinh (c+d x)}{\sqrt{a+b}}\right )}{b \sqrt{a+b} d}\\ \end{align*}
Mathematica [B] time = 0.681698, size = 194, normalized size = 3.53 \[ \frac{\text{sech}^2(c+d x) (a \cosh (2 (c+d x))+a+2 b) \left (2 \sqrt{a+b} \sqrt{(\cosh (c)-\sinh (c))^2} \tan ^{-1}\left (\tanh \left (\frac{1}{2} (c+d x)\right )\right )+\sqrt{a} \cosh (c) \tan ^{-1}\left (\frac{\sqrt{a+b} \sqrt{(\cosh (c)-\sinh (c))^2} (\sinh (c)+\cosh (c)) \text{csch}(c+d x)}{\sqrt{a}}\right )-\sqrt{a} \sinh (c) \tan ^{-1}\left (\frac{\sqrt{a+b} \sqrt{(\cosh (c)-\sinh (c))^2} (\sinh (c)+\cosh (c)) \text{csch}(c+d x)}{\sqrt{a}}\right )\right )}{2 b d \sqrt{a+b} \sqrt{(\cosh (c)-\sinh (c))^2} \left (a+b \text{sech}^2(c+d x)\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.048, size = 107, normalized size = 2. \begin{align*} -{\frac{1}{bd}\sqrt{a}\arctan \left ({\frac{1}{2} \left ( 2\,\tanh \left ( 1/2\,dx+c/2 \right ) \sqrt{a+b}+2\,\sqrt{b} \right ){\frac{1}{\sqrt{a}}}} \right ){\frac{1}{\sqrt{a+b}}}}+{\frac{1}{bd}\sqrt{a}\arctan \left ({\frac{1}{2} \left ( -2\,\tanh \left ( 1/2\,dx+c/2 \right ) \sqrt{a+b}+2\,\sqrt{b} \right ){\frac{1}{\sqrt{a}}}} \right ){\frac{1}{\sqrt{a+b}}}}+2\,{\frac{\arctan \left ( \tanh \left ( 1/2\,dx+c/2 \right ) \right ) }{bd}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \frac{2 \, \arctan \left (e^{\left (d x + c\right )}\right )}{b d} - 8 \, \int \frac{a e^{\left (3 \, d x + 3 \, c\right )} + a e^{\left (d x + c\right )}}{4 \,{\left (a b e^{\left (4 \, d x + 4 \, c\right )} + a b + 2 \,{\left (a b e^{\left (2 \, c\right )} + 2 \, b^{2} e^{\left (2 \, c\right )}\right )} e^{\left (2 \, d x\right )}\right )}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.30188, size = 1431, normalized size = 26.02 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\operatorname{sech}^{3}{\left (c + d x \right )}}{a + b \operatorname{sech}^{2}{\left (c + d x \right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: TypeError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]